package com.example.secondhandsysapi.Service;

import com.example.secondhandsysapi.Entity.Category;
import com.example.secondhandsysapi.Vo.CGC;
import com.example.secondhandsysapi.Vo.CategoryGoodsInfo;
import com.example.secondhandsysapi.Vo.IpMoney;

import java.util.List;
import java.util.Map;

public interface CategoryService {
    List<Category> getAllCategoryInfo();
    List<Category> getAllCategory(String name);
    Integer insertCategory(Category category);
    Integer delById(Integer id);
    Integer updateCategory(Category category);
    List<CategoryGoodsInfo> getAllCategoryGoods(Integer id);
    List<Map<String, Object>> getIpMoney();
    List<CGC> getCategoryGoods();
    List<Category> getCategoryList(Integer category_id);
}
